import { get } from '@/utils/request'
// 获取业态
function getBusinessFormat(params) {
  return get('/app/api/multipleFormat/getBusinessFormat', params)
}
// 获取商家各业态营收占比
function getRevenueShopStatistics(params) {
  return get('/app/api/multipleFormat/getRevenueShopStatistics', params)
}

// 营业数据
function getSituation(params) {
  return get('/app/api/business/getSituation', params)
}
// 获取营收统计
function getRevenueStatistics(params) {
  return get('/app/api/multipleFormat/getRevenueStatistics', params)
}
// 营收排行
function getBusinessRevenueRank(params) {
  return get('/app/api/business/getBusinessRevenueRank', params)
}
// 营收排行
function getRevenueRankingStatistics(params) {
  return get('/app/api/multipleFormat/getRevenueRankingStatistics', params)
}
// 票务营收趋势
function getTicketTrend(params) {
  return get('/app/api/business/getTicketTrend', params)
}
// 票务营收趋势
function multipleFormat_getTicketTrend(params) {
  return get('/app/api/multipleFormat/getTicketTrend', params)
}
// 票务营收分析
function getTicketAnalysis(params) {
  return get('/app/api/business/getTicketAnalysis', params)
}
// 票务营收分析
function getRevenueTicketStatistics(params) {
  return get('/app/api/multipleFormat/getRevenueTicketStatistics', params)
}
// 停车营收分析
function getCarRevenueAnalysis(params) {
  return get('/app/api/business/getCarRevenueAnalysis', params)
}
// 停车营收占比
function getRevenueParkingStatistics(params) {
  return get('/app/api/multipleFormat/getRevenueParkingStatistics', params)
}
// 观光车营收分析
function getTouristRevenueAnalysis(params) {
  return get('/app/api/business/getTouristRevenueAnalysis', params)
}
// 获取地图点信息
function getMapData(params) {
  return get('/app/api/business/getAllGate', params)
}
//获取区域坐标
function getRegion(params) {
  return get('/app/api/webConfig/getMapElectronicFence', params)
}
export {
  getRevenueStatistics,
  getSituation,
  getBusinessRevenueRank,
  getTicketTrend,
  getTicketAnalysis,
  getCarRevenueAnalysis,
  getTouristRevenueAnalysis,
  getMapData,
  getRegion,
  getRevenueRankingStatistics,
  getRevenueTicketStatistics,
  getRevenueParkingStatistics,
  getBusinessFormat,
  getRevenueShopStatistics,
  multipleFormat_getTicketTrend,
}
